package com.yy.wga.admin.service.request;


import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 微信朋友圈分享素材(ResourceMomentShare)表实体类
 *
 * @author guochao
 * @since 2024-10-31 22:12:52
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class AdminMerchantMomentSharePageRequest extends BasePageRequestDTO {

    /**
     * 素材文案
     */
    private String content;
    /**
     * 商品id
     */
    private String spuId;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

}
